package oop5;

/**
 * @author oldliu
 * @since 1.0
 */
public class TestFinal {
    public static void main(String[] args) {
        HuwenCat c=new HuwenCat("加菲",100,100,"公");
        c.print();
        c.catchMouse("吉米");

        People p=new People();
        p.setAge(22);
        p.setName("王武");
        System.out.println(p);

        People p2=new People("张三",20,"女");
        System.out.println(p2);

        final int i=100;
        System.out.println(i);
        //i=193;错误

        final Ren r=new Ren();//
        //r=new Ren();//不能改r的引用
        r.setName("laowu");
        r.setAge(21);

    }
}
